package cn.itcast.service;

import cn.itcast.entity.OrderQueryPageBean;
import cn.itcast.entity.PageResult;
import cn.itcast.pojo.Order;

import java.util.List;


public interface OrderService {
    PageResult findByPage(OrderQueryPageBean orderQueryPageBean);

    Order findById(Long id);

    int updateOrder(Order order);

    void changeOrderStatus(Long id, Integer arrival);

    List<Order> findUserAll(Long id);
}
